package com.hn658.base.message.itf.dto;

import java.io.Serializable;
import java.util.Date;

public class ItfSendMessageRequest implements Serializable {
	
	private static final long serialVersionUID = 6892427954013337657L;
	/**
	 * 发送用户Uid
	 */
	private String fromUid;
	
	/**
	 * 消息内容
	 */
	private String msg;
	
	/**
	 * 消息时间
	 */
	private Date createTime;
	/**
	 * 私信类型   0：文本
	 */
	private Integer msgType;
	/**
	 * 应用id
	 */
	private String appId;
	
	/**
	 * 接收用户id
	 */
	private String toUid;
	
	/**
	 * 接收群id
	 */
	private Long toGroupId;
	
	
	/**
	 * 消息优先级  1：低    2： 普通  3：高
	 */
	private Integer evenPriority;
	
    /**
     * 是否接收离线消息
     */
    private Boolean offlineMsg = true;
    
    /**
     * 是否需要保存
     * @return
     */
    private Boolean isNeedSave = true;

	public Boolean getOfflineMsg() {
		return offlineMsg;
	}

	public void setOfflineMsg(Boolean offlineMsg) {
		this.offlineMsg = offlineMsg;
	}

	public Boolean getIsNeedSave() {
		return isNeedSave;
	}

	public void setIsNeedSave(Boolean isNeedSave) {
		this.isNeedSave = isNeedSave;
	}


	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getMsgType() {
		return msgType;
	}

	public void setMsgType(Integer msgType) {
		this.msgType = msgType;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Integer getEvenPriority() {
		return evenPriority;
	}

	public void setEvenPriority(Integer evenPriority) {
		this.evenPriority = evenPriority;
	}

	public Long getToGroupId() {
		return toGroupId;
	}

	public void setToGroupId(Long toGroupId) {
		this.toGroupId = toGroupId;
	}

	public String getFromUid() {
		return fromUid;
	}

	public void setFromUid(String fromUid) {
		this.fromUid = fromUid;
	}

	public String getToUid() {
		return toUid;
	}

	public void setToUid(String toUid) {
		this.toUid = toUid;
	}
	
	
}
